﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Projet_WPF.DataAccess
{
    class Live
    {
        private Model.Live _modelLive;

        internal Model.Live ModelLive
        {
            get { return _modelLive; }
            set { _modelLive = value; }
        }

        public void Subscribe()
        {
            ModelLive = new Model.Live();
            ServiceLive.ServiceLiveClient service = new ServiceLive.ServiceLiveClient(new System.ServiceModel.InstanceContext(ModelLive));

            service.Subscribe();
        }
    }
}
